<template>
  <button @click="removeAll">全部删除</button>
</template>

<script>
export default {
  name: 'TodoClear',
  methods: {
    removeAll() {
      this.$emit('removeAll')
    }
  },
}
</script>

<style lang="scss" scoped></style>
